<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/struts-bean" prefix="bean"%>
<%@ taglib uri="/WEB-INF/tld/struts-html" prefix="html"%>
<%@ taglib uri="/WEB-INF/tld/struts-logic" prefix="logic"%>
<%@ taglib uri="/WEB-INF/tld/jstl/c" prefix="c"%>
<%@ taglib uri="/WEB-INF/tld/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="/WEB-INF/tld/jstl/fn" prefix="fn"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="ebb365,ebb365,ebb365">
		<meta http-equiv="description" content="ebb365">
		<link rel="stylesheet" type="text/css" href="/admin/css/css.css">
		
		<title>直播名添加后台</title>
		<style type="text/css">
			.vb_wid {width:100%; margin: 0 auto; border-top:1px #FDB18D solid; background:#F5F5F5; color:#FE6500; text-indent:20px; line-height:25px; font-size:12px;}
			.fb_search {width:100%; margin:0 auto; margin-top:20px; border:1px #FFCD7F solid;}
			.fb_search h1 {background:#FFEFBB; margin:0px; padding:0px; line-height:28px; text-indent:10px; font-size:14px;}
			.fb_ddd {width:100%; margin:0 auto; margin-top:10px; border-top:3px #FFCC00 solid; background:url(homeSite/directSeed/images/pen.gif) no-repeat 5px 3px; height:40px; text-indent:50px; line-height:40px; color:#464646; font-size:12px;}
			.fb_nr {width:100%; margin:0 auto; margin-top:10px; line-height:40px; font-size:12px; color:#464646}
			.fb_nr span {color:#CCC;}
			.fb_nr select {color:464646; font-size:12px;}
			.fb_nr Div {margin-left:10px;}
			.fb_nr .table11 {border-top:1px #FFCC66 solid; background:#FFF2D7;}
			.fb_nr .table22 {border-top:1px #E1E1E1 solid; background:#F9F9F9; margin-left:10px;}
			.fb_nr .table33 {border-top:1px #FFCC66 solid; border-bottom:1px #FFCC66 solid; background:#FFF2D7;}
			.fb_nr .table44 {border-top:1px #E1E1E1 solid; border-bottom:1px #E1E1E1 solid; background:#F9F9F9; margin-left:10px;}
			.inputtttt {border:1px #DEA303 solid; height:20px; color:#464646; font-size:12px; background:url(images/bottom_bg.jpg) repeat-x left top;}
		</style>
		
		<script type="text/javascript">
		<!--//
				function checkForm(){
				  var f = document.forms[0];
				  if(f.qiname.value==''){
				     alert('直播标题不能为空！');
				     return false;
				  }
				  if(f.qiname.value.length>100){
				     alert('直播标题长度不能超过100！');
				     return false;
				  }
				   if(f.iscommend.value==''){
				     alert('请选择是否推荐！');
				     return false;
				  }
				  if(f.del.value==''){
				  	alert('请选择是否删除……');
				  	return false;
				  }
				  if(f.jj.value.length>500){
				  	alert('简介字符长度不能超过500');
				  	return false;
				  }
				  return true;
				}
				
			 -->	
		</script>
		<style type="text/css">
			<!--
			.STYLE1 {font-size: 12px}
			-->
		</style>
	</head>
	<body>
		
		<form action="/admin/directSeedName.do?action=add"
			method="post" enctype="multipart/form-data"  onsubmit=" return checkForm();">
			<div class="vb_wid">【添加直播后台】</div>
			<div class="fb_ddd">直播添加</div>
			<div class="fb_nr">
			  <table width="100%" border="0" cellpadding="0" cellspacing="0">
			    <tr>
			      <td width="17%" height="22" align="center" class="table11">直播标题:</td>
			      <td width="83%" height="22" class="table22"><div><label>
			        <input type="text" name="qiname" size="40" maxlength="100"/>
			        <font color="red">*</font>
			      </label>
			      </div></td>
			    </tr>
			    <tr>
			      <td align="center" height="22" class="table11">直播标题图片:</td>
			      <td class="table22"><div><label>
			        <input type="file" name="titlePic" size="30" maxlength="100"/>
			      </label>
			      </div></td>
			    </tr>
			    <tr>
			      <td align="center" class="table11">直播专题图片:</td>
			      <td class="table22"><div><label>
			        <input type="file" name="zhuantiPic" size="30" maxlength="100"/>
			      </label>
			      </div></td>
			    </tr>
				<tr>
			      <td align="center" class="table11">网上直播视频:</td>
			      <td class="table22"><div><label>
			       <input type="text" name="shipin" size="30" maxlength="100"/>
			      </label><br/>
			      <span>(注:只填写从根目录开始下面的直播名.比如填写/sp/xx.avi,视频文件太大直接使用ftp上传.)</span></div></td>
			    </tr>
				<tr>
			      <td align="center" class="table11">关 键 词:</td>
			      <td class="table22"><div>
			        <label>
			        <input type="text" name="gjc" size="50" />
			        </label>
			      <span>(注:多个关键词用中文&quot;,&quot;逗号隔开)</span></div></td>
			    </tr>
			    
			    <tr>
			      <td align="center" class="table33">是否推荐:</td>
			      <td class="table44"><div><label>
			        <input type="radio" name="iscommend" value="1" checked/>
			      是
			      <input type="radio" name="iscommend" value="0"  />
			      否</label></div></td>
			    </tr>
			    
			    <tr>
			      <td align="center" class="table33">是否删除:</td>
			      <td class="table44"><div><label>
			        <input type="radio" name="del" value="1" />
			      是
			      <input type="radio" name="del" value="0" checked />
			      否</label></div></td>
			    </tr>
			    
				<tr>
			      <td align="center" class="table11">所在地概况:</td>
			      <td class="table22"><div>
			        <label>
			          <textarea name="generalSituation" cols="50" rows="7"></textarea>
			          </label>
			      </div></td>
			    </tr>
				<tr>
			      <td align="center" class="table11">简 介:</td>
			      <td class="table22"><div>
			        <label>
			          <textarea name="jj" cols="50" rows="7"></textarea>
			          </label>
			      </div></td>
			    </tr>
				    
			   	<tr style="height:50px;">
			      <td align="center"></td>
			      <td><label>
			        <input type="submit" name="Submit" value=" 添 加 " class="inputtttt" />
			        <input type="reset" name="Submit2" value=" 重 置 " class="inputtttt" />
			      </label></td>
			    </tr>
			  </table>
			</div>
		</form>
			
		<logic:present name="msg">
			<bean:write name="msg" filter="false"/>
		</logic:present>
	</body>
</html>
